package com.psy.counseling.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.util.Date;

/**
 * @Author 梁学儒
 * @Date 2022/5/29 17:17
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterVo {
    @NotBlank(message = "用户名不能为空！")
    private String username;

    @NotBlank(message = "密码不能为空！")
    private String password;

    @Email(message = "请填写正确的邮箱！")
    private String email;

    @NotBlank(message = "真实姓名不能为空！")
    private String realName;

}
